<%@taglib prefix="s" uri="/struts-tags" %>
<%@page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>

<head>
    <title><s:text name="groups"/></title>   
</head>

<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/search.css"/>	

<!-- Breadcrumbs -->
<s:property value="resultsTable[0]"/>

<div class="breadCrumbs">
	<a href="Categories"><s:text name="categories"/></a> >
	<span class="current">${groups[0].category.name}</span>
</div>

<!-- Main part -->	
<table id="resultsTable" class="completelyBordered searchTable">
	<s:iterator value="groups" var="item" status="rowStatus">
		<tr class="${rowStatus.odd ? 'oddRow' : 'evenRow'}">
			<td class="idCell">#${item.id}</td>
			<!--td class="imgCell img32Cell" style="background-image: url(${pageContext.request.contextPath}/img/Icons/items/32_32/icon${item.icon.fileName}.png)"></td-->
			<td class="nameCell">
				<a href="Search?groupId=${item.id}">${item.name}</a>
			</td>
		</tr>
	</s:iterator>
</table>
